Skip to content

Conversation

@agners
Copy link
Collaborator

@agners agners commented Dec 18, 2024

Instead of setting the label on commissioning only, set it during the interview process but only if necessary. This avoids the commissioning process to fail in a incomplete state when setting the label fails.

The interview process has more resilience to recover from a failure during the commissioning since we have a retry mechanism in place.

This also allows to set the label on devices that are already commissioned.

Also (try to) unpair the device in case interviewing fails. This allows user to commission a second time without running into "Trying to add a NOC for a fabric that already exists" errors.

Instead of setting the label on commissioning only, set it during the
interview process but only if necessary. This avoids the commissioning
process to fail in a incomplete state when setting the label fails.

The interview process has more resilience to recover from a failure
during the commissioning since we have a retry mechanism in place.

This also allows to set the label on devices that are already
commissioned.

Also (try to) unpair the device in case interviewing fails. This allows
user to commission a second time without running into "Trying to add a
NOC for a fabric that already exists" errors.
@marcelveldt marcelveldt merged commit 91d9bde into main Dec 20, 2024
3 checks passed
@marcelveldt marcelveldt deleted the set-fabric-label-on-interview branch December 20, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants